package com.tensquare.gateway.client.impl;

import com.tensquare.entity.Result;
import com.tensquare.entity.StatusCode;
import com.tensquare.gateway.client.UserClient;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

@Component
public class UserClientImpl implements UserClient {

    @Override
    public Result getPermission(String id,String url) {
        System.out.println("通知服务调用异常！" + url);
        return new Result(false,"错误", StatusCode.REMOTEERROR);
    }
}
